var Global = {
    Website: 'http://www.51inews.com',
    Title: '掌上中考客户端',
    loadingText: '努力加载中...'
};

Ext.Loader.setConfig({
    enabled: true,
    'School': 'app'
});

Ext.application({
    name: 'School',
    title: 'School',
    
    glossOnIcon: false,
    tabletStartupScreen: 'resources/kiva/loading/Homescreen~ipad.jpg',
    phoneStartupScreen: 'resources/kiva/loading/Homescreen.jpg',
    
    viewport: {
        autoMaximize: true
    },
    
    
    controllers: ['About', 'Splash', 'School'],
    
    stores: ['Area', 'School'],
    
    views: ['Main', 'about.About', 'home.Splash', 'home.Settings', 'school.List'],
    
    models: ['School'],
    
    
    
    glossOnIcon: false,
    
    
    
    launch: function(){
        Ext.Viewport.setMasked({
            xtype: 'loadmask'
        });
        Ext.Viewport.add({
            xtype: 'main'
        });
        Ext.Viewport.setMasked(false);
    }
    
});
